package cn.cdutetc.library.entity.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

/**
 * 用户导入模板DTO
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(25)
public class UserImportTemplateDTO {
    
    @ExcelProperty(value = "用户名*", index = 0)
    @ColumnWidth(15)
    private String username;
    
    @ExcelProperty(value = "密码*", index = 1)
    @ColumnWidth(15)
    private String password;
    
    @ExcelProperty(value = "真实姓名*", index = 2)
    @ColumnWidth(15)
    private String realName;
    
    @ExcelProperty(value = "角色*(system_admin/book_admin/normal_user)", index = 3)
    @ColumnWidth(35)
    private String role;
    
    @ExcelProperty(value = "联系电话", index = 4)
    @ColumnWidth(15)
    private String phone;
    
    @ExcelProperty(value = "邮箱", index = 5)
    @ColumnWidth(25)
    private String email;
    
    @ExcelProperty(value = "状态(active/inactive)", index = 6)
    @ColumnWidth(20)
    private String status;
}